# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gdl
pkgver=3.40.0
pkgrel=0
pkgdesc="Gnome Docking library"
url="https://gitlab.gnome.org/GNOME/gdl"
arch="all"
license="LGPL-2.1-or-later"
makedepends="gtk+3.0-dev libxml2-dev intltool"
options="!check" # no tests
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/gdl/${pkgver%.*}/gdl-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--disable-static
	make
}

package() {
	make DESTDIR="$pkgdir" install
}
sha512sums="
38cf787a47e7eece445c7bf321cb5aa691cc6bdfcb31bc10fb51c83c525b74fc8374a20989621d79e70f25ef92d9d7cce46f6f0bb993cceba3fb93b9092c1e32  gdl-3.40.0.tar.xz
"
